-- cmd_dispatch_lictor
-- Created by chendh Jun/10/2015
-- 派遣扈从

function Operation.cmd_dispatch_lictor(lictorIds, dungeonId)

    -- 客户端自行携带
    if not LictorM.dispatchLictor(lictorIds, dungeonId) then
        return false;
    end

    -- 记录起来，需要进行同步
    local v = { ["lictor_ids"] = to_mapping(lictorIds), ["dungeon_id"] = dungeonId, };

    Communicate.send("CMD_DISPATCH_LICTOR", v);
end
